package iot.core.util;

import org.springframework.util.DigestUtils;

import java.security.MessageDigest;
import java.util.function.Predicate;
import java.util.stream.Stream;

public class MD5 {
    public static String get(String str) {
        return DigestUtils.md5DigestAsHex(str.getBytes());
    }

}
